<?php

namespace app\controllers\admin\uni\product;

use app\controllers\admin\base\AdminController;
use app\models\product\ProductScoreCost as Model;

/**
 * Class ScoreCostController
 * @package app\controllers\admin\uni\product
 */
class ScoreCostController extends AdminController
{
    public function actionList()
    {
        $list = Model::find()
            ->orderBy(['id' => SORT_ASC])
            ->asArray()
            ->all();

        return $this->success($list);
    }
}